/**
 * Copyright 2016 SmartBear Software
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.zbs.framework.swagger.utils.excel.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Adds and manipulates data of a model property.
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PoiProperty {
    // 开始行号
    int firstRow() default -1;

    // 结束行号
    int lastRow() default -1;

    // 开始列
    int firstCol() default -1;

    // 结束列
    int lastCol() default -1;

    //内容
    String val() default "";

    // 高
    int height() default 1;

    // 宽
    int width() default 1;

    // 是否是图片
    boolean isImage() default false;

    // 样式唯一标识
    String styleKey() default "";

}
